#pragma once
#include "ridefactory.h"
#include "SgMesh.h"
class CGoCartFactory :
	public CRideFactory
{
public:
	CGoCartFactory(void);
	~CGoCartFactory(void);

	void Create(CSgComposite *root);
	void CreateTrack(CSgComposite *parent);
	void CreateCart(CSgComposite *parent);
	void CreateStage(CSgComposite *parent);
	double *Normal3dv( const double *a,const double *b, const double *c);
private:
	CSgComposite *m_root;
	CSgPtr<CSgTexture> tireTextMiddle;
	CSgPtr<CSgTexture> rimText;
	CSgPtr<CSgTexture> usaFlag;
	CSgPtr<CSgTexture> fireText;
	CSgPtr<CSgTexture> racingFlagText;
	CSgPtr<CSgTexture> carBodyText;
	CSgPtr<CSgTexture> stageText1;
	CSgPtr<CSgTexture> carWindowText;

};
